<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2018/11/14
 * Time: 10:53
 * name:更新问题专家回答
 * url:/erpSpecialist/update_specialist_answer
 */

$osa_id = $route->bodyParams["osa_id"];//主键ID

//更新条件
$whereArr = [
    "osa_id" => $osa_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_specialist_answer",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );